package com.hwy.catering.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hwy.catering.dto.CategoryDto;
import com.hwy.catering.entity.Category;
import com.hwy.catering.utils.R;

public interface CategoryService extends IService<Category> {

    //查询所有类别
    R findCategory();

    //添加类别
    R addCategory(Category category);

    //删除类别
    R deleteCategory(CategoryDto categoryDto);

    //查找某种类别
    R findDetailCategory(Integer type);
}
